package com.mdd.front.validate.yangyangLeadingEnterprise;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 企业融资参数
 * @author LikeAdmin
 */
@Data
@ApiModel("企业融资更新参数")
public class TAppCorporateFinanceUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "")
    private Integer id;

    @NotNull(message = "brandPic参数缺失")
    @ApiModelProperty(value = "品牌图标地址")
    private String brandPic;

    @NotNull(message = "name参数缺失")
    @ApiModelProperty(value = "品牌名称")
    private String name;

    @NotNull(message = "maxLimit参数缺失")
    @ApiModelProperty(value = "最高额度（万元）")
    private Integer maxLimit;

    @NotNull(message = "maxPeriods参数缺失")
    @ApiModelProperty(value = "最高期数")
    private Integer maxPeriods;

    @NotNull(message = "annualizedInterestRate参数缺失")
    @ApiModelProperty(value = "年化利率（0.12，展示百分比的时候乘以100）")
    private Double annualizedInterestRate;

    @NotNull(message = "areaId参数缺失")
    @ApiModelProperty(value = "所属地区id")
    private Integer areaId;

    @NotNull(message = "type参数缺失")
    @ApiModelProperty(value = "类型（1：税贷；2：发票贷；3：其他；）")
    private Integer type;

    @NotNull(message = "creditTerm参数缺失")
    @ApiModelProperty(value = "授信期限")
    private String creditTerm;

    @NotNull(message = "repaymentMethod参数缺失")
    @ApiModelProperty(value = "还款方式")
    private String repaymentMethod;

}
